<template>
  <i class="iconfont Icon-container" :class="classicon"></i>
</template>

<script>
const className = {
    error:'icon-cuowu',
    arrowdown:'icon-xiangxia',
    warn:'icon-jinggao',
    arrowup:'icon-arrow-up',
    email:'icon-email',
    blog:'icon-blog',
    liuyan:'icon-liuyan',
    code:'icon-code',
    github:'icon-github-fill',
    wechat:'icon-WeChat',
    zhuye:'icon-zhuye',
    close:'icon-guanbi',
    about:'icon-set_about_hov',
    success:'icon-zhengque',
    empty:'icon-empty',
    info:'icon-xinxi',
    qq:'icon-qq',
};
export default {
    props:{
        classty:{
            type:String,
            required:true,
        }
    },
    computed:{
        classicon(){
            return className[this.classty];
        }
    }
}
</script>

<style scoped>
@import '//at.alicdn.com/t/c/font_3998876_fbfw2r3zzaf.css';
</style>